﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CVSA.Master" AutoEventWireup="true" CodeBehind="Cesta.aspx.cs" Inherits="CVSA.Suporte.Sinacor.BMFBovespa.ConsultaRemedy.Cesta" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
  <style type="text/css">
        body
        {
            font-family: Calibri;
            font-size: 11pt;
            border: solid 1px;
            margin: 0px;
        }
        .style1
        {
            vertical-align: top;
            width: 150px;
        }
        .tb
        {
            margin-left: 50px;
        }
        .style2
        {
            vertical-align: top;
            width: 500px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<center>
<h1>Cesta de Trabalho - Analise</h1>
    <asp:GridView ID="dtgCesta" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" Font-Names="Arial" ForeColor="#333333" GridLines="None" 
        ShowFooter="True" onrowdatabound="dtgCesta_RowDataBound">
        <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="PESSOA_DESIGNADA" 
                DataNavigateUrlFormatString="listachamadosremedy.aspx?pessoa={0}" 
                DataTextField="PESSOA_DESIGNADA" HeaderText="Pessoa">
            <ItemStyle Width="400px" HorizontalAlign="Left" />
            </asp:HyperLinkField>
            <asp:TemplateField HeaderText="Designados">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("QTD_DES") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("QTD_DES") %>'></asp:TextBox>
                </EditItemTemplate>
                <FooterTemplate>
                    <asp:Label ID="lblQtdDes" runat="server" Text="Label"></asp:Label>
                </FooterTemplate>
                <FooterStyle HorizontalAlign="Right" />
                <ItemStyle HorizontalAlign="Right" Width="100px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Em Andamento">
                <ItemTemplate>
                    <asp:Label ID="Label2" runat="server" Text='<%# Bind("QTD_AND") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("QTD_AND") %>'></asp:TextBox>
                </EditItemTemplate>
                <FooterTemplate>
                    <asp:Label ID="lblQtdAnd" runat="server" Text="Label"></asp:Label>
                </FooterTemplate>
                <FooterStyle HorizontalAlign="Right" />
                <ItemStyle HorizontalAlign="Right" Width="100px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Pendentes">
                <ItemTemplate>
                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("QTD_PEND") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("QTD_PEND") %>'></asp:TextBox>
                </EditItemTemplate>
                <FooterTemplate>
                    <asp:Label ID="lblQtdPend" runat="server" Text="Label"></asp:Label>
                </FooterTemplate>
                <FooterStyle HorizontalAlign="Right" />
                <ItemStyle HorizontalAlign="Right" Width="100px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Total">
                <ItemTemplate>
                    <asp:Label ID="lblTotalPessoa" runat="server" Text="Label"></asp:Label>
                </ItemTemplate>
                <FooterTemplate>
                    <asp:Label ID="lblQtdTotal" runat="server" Text="Label"></asp:Label>
                </FooterTemplate>
                <FooterStyle HorizontalAlign="Right" />
                <ItemStyle HorizontalAlign="Right" Width="100px" />                
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Fechados Hoje">
                <ItemTemplate>
                    <asp:Label ID="Label9" runat="server" Text='<%# Bind("QTD_FEC") %>' Font-Bold="True"></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox9" runat="server" Text='<%# Bind("QTD_FEC") %>'></asp:TextBox>
                </EditItemTemplate>
                <FooterTemplate>
                    <asp:Label ID="lblQtdFec" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                </FooterTemplate>
                <FooterStyle HorizontalAlign="Right" />
                <ItemStyle HorizontalAlign="Right" Width="100px" />
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
        <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    <br />
    <br />
    Legenda
    <br />
    <table width="300px" border="1" 
        style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt;">
    <tr>
    <td style="width:50px;background-color:#C6EFCE">&nbsp;</td>
    <td style="width:250px;">Cesta pode receber mais chamados.</td>
    </tr>
    <tr>
    <td style="width:50px;background-color:#FFEB9C">&nbsp;</td>
    <td style="width:250px;">Cesta esta na capacidade máxima.</td>
    </tr>
    <tr>
    <td style="width:50px;background-color:#FFC7CE">&nbsp;</td>
    <td style="width:250px;">Cesta esta acima da capacidade.</td>
    </tr>
    </table>
</center>
</asp:Content>
